package com.vincce.sport.entity;

import java.util.Date;

import javax.xml.bind.annotation.XmlRootElement;

import com.vincce.sport.core.utils.ConvertUtil;

/**
 * 角色实体类
 * User: liufuqiang
 * Date: 3/14/14
 * Time: 3:58 PM
 * To change this template use File | Settings | File Templates.
 */
@XmlRootElement
public class SysRole {
    private Long id;                 //ID
    private String roleName;         //角色名称
    private String roleDescription;  //角色描述
    private Integer createUser;      //创建人
    private Date createTime;         //创建时间
    private Integer updateUser;      //更新人
    private Date updateTime;         //更新时间
    
    private String resourceId;        //资源Id
    
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public String getRoleDescription() {
		return roleDescription;
	}
	public void setRoleDescription(String roleDescription) {
		this.roleDescription = roleDescription;
	}
	public Integer getCreateUser() {
		return createUser;
	}
	public void setCreateUser(Integer createUser) {
		this.createUser = createUser;
	}
	public String getCreateTime() {
		return ConvertUtil.format("yyyy-MM-dd", createTime);
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Integer getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(Integer updateUser) {
		this.updateUser = updateUser;
	}
	public String getUpdateTime() {
		return ConvertUtil.format("yyyy-MM-dd", updateTime);
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getResourceId() {
		return resourceId;
	}
	public void setResourceId(String resourceId) {
		this.resourceId = resourceId;
	}
    
}
